import request from '@/utils/request'

export function login(data) {
  return request({
    baseURL:"http://localhost:8080",
    url: '/user/login',
    method: 'post',
    data
  })
}

export function getProjects(params) {
  return request({
    baseURL:"http://localhost:8080",
    url: '/project',
    method: 'get',
    params: params
  })
}

